[INFO] fetching crate hipool 0.3.4...
[INFO] fixing hipool-0.3.4 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] extracting crate hipool 0.3.4 into /workspace/builds/worker-1-tc2/source
[INFO] started tweaking crates.io crate hipool 0.3.4
[INFO] finished tweaking crates.io crate hipool 0.3.4
[INFO] tweaked toml for crates.io crate hipool 0.3.4 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate hipool 0.3.4 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 2 packages to latest compatible versions
[INFO] [stderr]       Adding cfg-if v0.1.10 (available: v1.0.4)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] a7c529cc73c4fd2dbe463c8c9a42813d6c5b0abe82f1a692d7a5cebbf8a6d1dc
[INFO] running `Command { std: "docker" "start" "a7c529cc73c4fd2dbe463c8c9a42813d6c5b0abe82f1a692d7a5cebbf8a6d1dc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a7c529cc73c4fd2dbe463c8c9a42813d6c5b0abe82f1a692d7a5cebbf8a6d1dc" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a7c529cc73c4fd2dbe463c8c9a42813d6c5b0abe82f1a692d7a5cebbf8a6d1dc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a7c529cc73c4fd2dbe463c8c9a42813d6c5b0abe82f1a692d7a5cebbf8a6d1dc" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]     Checking hierr v0.2.4
[INFO] [stderr]     Checking hipool v0.3.4 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed src/arc.rs (1 fix)
[INFO] [stderr]        Fixed src/buf.rs (3 fixes)
[INFO] [stderr]        Fixed src/alloc.rs (18 fixes)
[INFO] [stderr]        Fixed src/rc.rs (1 fix)
[INFO] [stderr]        Fixed src/unix.rs (1 fix)
[INFO] [stderr]        Fixed src/boxed.rs (6 fixes)
[INFO] [stderr]        Fixed src/mem.rs (3 fixes)
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/boxed.rs:601:27
[INFO] [stdout]     |
[INFO] [stdout] 601 |             assert_eq!(1, DROP);
[INFO] [stdout]     |                           ^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/boxed.rs:658:24
[INFO] [stdout]     |
[INFO] [stdout] 658 |             assert_eq!(D, 1);
[INFO] [stdout]     |                        ^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/buf.rs:209:24
[INFO] [stdout]     |
[INFO] [stdout] 209 |             assert_eq!(COUNT, 9);
[INFO] [stdout]     |                        ^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/mem.rs:662:24
[INFO] [stdout]     |
[INFO] [stdout] 662 |             assert_eq!(CNT, 9);
[INFO] [stdout]     |                        ^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/rc.rs:337:33
[INFO] [stdout]     |
[INFO] [stdout] 337 |             unsafe { assert_eq!(DROP, 0) };
[INFO] [stdout]     |                                 ^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/rc.rs:339:29
[INFO] [stdout]     |
[INFO] [stdout] 339 |         unsafe { assert_eq!(DROP, 1) };
[INFO] [stdout]     |                             ^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/arc.rs:334:33
[INFO] [stdout]     |
[INFO] [stdout] 334 |             unsafe { assert_eq!(DROP, 0) };
[INFO] [stdout]     |                                 ^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/arc.rs:336:29
[INFO] [stdout]     |
[INFO] [stdout] 336 |         unsafe { assert_eq!(DROP, 1) };
[INFO] [stdout]     |                             ^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/lib.rs:153:29
[INFO] [stdout]     |
[INFO] [stdout] 153 |             assert_eq!(100, DROP_CNT);
[INFO] [stdout]     |                             ^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/lib.rs:169:29
[INFO] [stdout]     |
[INFO] [stdout] 169 |             assert_eq!(100, DROP_CNT);
[INFO] [stdout]     |                             ^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.35s
[INFO] [stderr] crater-edition-check: hipool v0.3.4 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking hipool v0.3.4 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/boxed.rs:277:33
[INFO] [stdout]     |
[INFO] [stdout] 274 |     pub unsafe fn cast_unchecked<U>(self) -> Boxed<'a, U, A> { unsafe {
[INFO] [stdout]     |                                                                ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 277 |         let ptr = NonNull::from(unsafe { this.as_other::<U>() });
[INFO] [stdout]     |                                 ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/alloc.rs:110:13
[INFO] [stdout]     |
[INFO] [stdout] 107 |     unsafe fn init<T>(&self, val: T) -> Result<NonNull<T>> { unsafe {
[INFO] [stdout]     |                                                              ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 110 |             unsafe { ptr.cast::<T>().as_ptr().write(val) };
[INFO] [stdout]     |             ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/alloc.rs:122:13
[INFO] [stdout]     |
[INFO] [stdout] 119 |     { unsafe {
[INFO] [stdout]     |       ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 122 |             unsafe { ptr.cast::<T>().as_ptr().write(f()?) }
[INFO] [stdout]     |             ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/alloc.rs:133:17
[INFO] [stdout]     |
[INFO] [stdout] 128 |     unsafe fn init_slice<T: Clone>(&self, len: usize, val: T) -> Result<NonNull<[T]>> { unsafe {
[INFO] [stdout]     |                                                                                         ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 133 |                 unsafe { ptr.add(offset).write(val.clone()) };
[INFO] [stdout]     |                 ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/alloc.rs:139:27
[INFO] [stdout]     |
[INFO] [stdout] 128 |     unsafe fn init_slice<T: Clone>(&self, len: usize, val: T) -> Result<NonNull<[T]>> { unsafe {
[INFO] [stdout]     |                                                                                         ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 139 |             NonNull::from(unsafe { slice::from_raw_parts(ptr, len) })
[INFO] [stdout]     |                           ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/alloc.rs:154:29
[INFO] [stdout]     |
[INFO] [stdout] 146 |     { unsafe {
[INFO] [stdout]     |       ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 154 |                             unsafe { ptr.add(n).drop_in_place() };
[INFO] [stdout]     |                             ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/alloc.rs:159:17
[INFO] [stdout]     |
[INFO] [stdout] 146 |     { unsafe {
[INFO] [stdout]     |       ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 159 |                 unsafe { ptr.add(offset).write(val) };
[INFO] [stdout]     |                 ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/alloc.rs:165:27
[INFO] [stdout]     |
[INFO] [stdout] 146 |     { unsafe {
[INFO] [stdout]     |       ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 165 |             NonNull::from(unsafe { slice::from_raw_parts(ptr, len) })
[INFO] [stdout]     |                           ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/alloc.rs:178:31
[INFO] [stdout]     |
[INFO] [stdout] 174 |     unsafe fn zeroed_slice<T>(&self, len: usize) -> Result<NonNull<[MaybeUninit<T>]>> { unsafe {
[INFO] [stdout]     |                                                                                         ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 178 |                 NonNull::from(unsafe { slice::from_raw_parts(ptr, len) })
[INFO] [stdout]     |                               ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/alloc.rs:191:31
[INFO] [stdout]     |
[INFO] [stdout] 187 |     unsafe fn uninit_slice<T>(&self, len: usize) -> Result<NonNull<[MaybeUninit<T>]>> { unsafe {
[INFO] [stdout]     |                                                                                         ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 191 |                 NonNull::from(unsafe { slice::from_raw_parts(ptr, len) })
[INFO] [stdout]     |                               ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/alloc.rs:197:19
[INFO] [stdout]     |
[INFO] [stdout] 195 |     unsafe fn release<T>(&self, ptr: NonNull<T>) { unsafe {
[INFO] [stdout]     |                                                    ------ because it's nested under this `unsafe` block
[INFO] [stdout] 196 |         let layout = Layout::new::<T>();
[INFO] [stdout] 197 |         let ptr = unsafe { slice::from_raw_parts(ptr.cast::<u8>().as_ptr(), layout.size()) };
[INFO] [stdout]     |                   ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/alloc.rs:202:19
[INFO] [stdout]     |
[INFO] [stdout] 201 |     unsafe fn release_with<T: ?Sized>(&self, ptr: NonNull<T>, layout: Layout) { unsafe {
[INFO] [stdout]     |                                                                                 ------ because it's nested under this `unsafe` block
[INFO] [stdout] 202 |         let ptr = unsafe { slice::from_raw_parts(ptr.cast::<u8>().as_ptr(), layout.size()) };
[INFO] [stdout]     |                   ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/alloc.rs:207:41
[INFO] [stdout]     |
[INFO] [stdout] 206 |     unsafe fn release_slice<T>(&self, ptr: NonNull<[T]>) { unsafe {
[INFO] [stdout]     |                                                            ------ because it's nested under this `unsafe` block
[INFO] [stdout] 207 |         let layout = Layout::array::<T>(unsafe { ptr.as_ref() }.len()).unwrap();
[INFO] [stdout]     |                                         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/alloc.rs:208:19
[INFO] [stdout]     |
[INFO] [stdout] 206 |     unsafe fn release_slice<T>(&self, ptr: NonNull<[T]>) { unsafe {
[INFO] [stdout]     |                                                            ------ because it's nested under this `unsafe` block
[INFO] [stdout] 207 |         let layout = Layout::array::<T>(unsafe { ptr.as_ref() }.len()).unwrap();
[INFO] [stdout] 208 |         let ptr = unsafe { slice::from_raw_parts(ptr.cast::<u8>().as_ptr(), layout.size()) };
[INFO] [stdout]     |                   ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/alloc.rs:213:19
[INFO] [stdout]     |
[INFO] [stdout] 212 |     unsafe fn release_slice_with<T>(&self, ptr: NonNull<[T]>, layout: Layout) { unsafe {
[INFO] [stdout]     |                                                                                 ------ because it's nested under this `unsafe` block
[INFO] [stdout] 213 |         let ptr = unsafe { slice::from_raw_parts(ptr.cast::<u8>().as_ptr(), layout.size()) };
[INFO] [stdout]     |                   ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/boxed.rs:277:33
[INFO] [stdout]     |
[INFO] [stdout] 274 |     pub unsafe fn cast_unchecked<U>(self) -> Boxed<'a, U, A> { unsafe {
[INFO] [stdout]     |                                                                ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 277 |         let ptr = NonNull::from(unsafe { this.as_other::<U>() });
[INFO] [stdout]     |                                 ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/alloc.rs:110:13
[INFO] [stdout]     |
[INFO] [stdout] 107 |     unsafe fn init<T>(&self, val: T) -> Result<NonNull<T>> { unsafe {
[INFO] [stdout]     |                                                              ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 110 |             unsafe { ptr.cast::<T>().as_ptr().write(val) };
[INFO] [stdout]     |             ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/alloc.rs:122:13
[INFO] [stdout]     |
[INFO] [stdout] 119 |     { unsafe {
[INFO] [stdout]     |       ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 122 |             unsafe { ptr.cast::<T>().as_ptr().write(f()?) }
[INFO] [stdout]     |             ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/alloc.rs:133:17
[INFO] [stdout]     |
[INFO] [stdout] 128 |     unsafe fn init_slice<T: Clone>(&self, len: usize, val: T) -> Result<NonNull<[T]>> { unsafe {
[INFO] [stdout]     |                                                                                         ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 133 |                 unsafe { ptr.add(offset).write(val.clone()) };
[INFO] [stdout]     |                 ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/alloc.rs:139:27
[INFO] [stdout]     |
[INFO] [stdout] 128 |     unsafe fn init_slice<T: Clone>(&self, len: usize, val: T) -> Result<NonNull<[T]>> { unsafe {
[INFO] [stdout]     |                                                                                         ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 139 |             NonNull::from(unsafe { slice::from_raw_parts(ptr, len) })
[INFO] [stdout]     |                           ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/alloc.rs:154:29
[INFO] [stdout]     |
[INFO] [stdout] 146 |     { unsafe {
[INFO] [stdout]     |       ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 154 |                             unsafe { ptr.add(n).drop_in_place() };
[INFO] [stdout]     |                             ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/alloc.rs:159:17
[INFO] [stdout]     |
[INFO] [stdout] 146 |     { unsafe {
[INFO] [stdout]     |       ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 159 |                 unsafe { ptr.add(offset).write(val) };
[INFO] [stdout]     |                 ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/alloc.rs:165:27
[INFO] [stdout]     |
[INFO] [stdout] 146 |     { unsafe {
[INFO] [stdout]     |       ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 165 |             NonNull::from(unsafe { slice::from_raw_parts(ptr, len) })
[INFO] [stdout]     |                           ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/alloc.rs:178:31
[INFO] [stdout]     |
[INFO] [stdout] 174 |     unsafe fn zeroed_slice<T>(&self, len: usize) -> Result<NonNull<[MaybeUninit<T>]>> { unsafe {
[INFO] [stdout]     |                                                                                         ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 178 |                 NonNull::from(unsafe { slice::from_raw_parts(ptr, len) })
[INFO] [stdout]     |                               ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/alloc.rs:191:31
[INFO] [stdout]     |
[INFO] [stdout] 187 |     unsafe fn uninit_slice<T>(&self, len: usize) -> Result<NonNull<[MaybeUninit<T>]>> { unsafe {
[INFO] [stdout]     |                                                                                         ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 191 |                 NonNull::from(unsafe { slice::from_raw_parts(ptr, len) })
[INFO] [stdout]     |                               ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/alloc.rs:197:19
[INFO] [stdout]     |
[INFO] [stdout] 195 |     unsafe fn release<T>(&self, ptr: NonNull<T>) { unsafe {
[INFO] [stdout]     |                                                    ------ because it's nested under this `unsafe` block
[INFO] [stdout] 196 |         let layout = Layout::new::<T>();
[INFO] [stdout] 197 |         let ptr = unsafe { slice::from_raw_parts(ptr.cast::<u8>().as_ptr(), layout.size()) };
[INFO] [stdout]     |                   ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/alloc.rs:202:19
[INFO] [stdout]     |
[INFO] [stdout] 201 |     unsafe fn release_with<T: ?Sized>(&self, ptr: NonNull<T>, layout: Layout) { unsafe {
[INFO] [stdout]     |                                                                                 ------ because it's nested under this `unsafe` block
[INFO] [stdout] 202 |         let ptr = unsafe { slice::from_raw_parts(ptr.cast::<u8>().as_ptr(), layout.size()) };
[INFO] [stdout]     |                   ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/alloc.rs:207:41
[INFO] [stdout]     |
[INFO] [stdout] 206 |     unsafe fn release_slice<T>(&self, ptr: NonNull<[T]>) { unsafe {
[INFO] [stdout]     |                                                            ------ because it's nested under this `unsafe` block
[INFO] [stdout] 207 |         let layout = Layout::array::<T>(unsafe { ptr.as_ref() }.len()).unwrap();
[INFO] [stdout]     |                                         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/alloc.rs:208:19
[INFO] [stdout]     |
[INFO] [stdout] 206 |     unsafe fn release_slice<T>(&self, ptr: NonNull<[T]>) { unsafe {
[INFO] [stdout]     |                                                            ------ because it's nested under this `unsafe` block
[INFO] [stdout] 207 |         let layout = Layout::array::<T>(unsafe { ptr.as_ref() }.len()).unwrap();
[INFO] [stdout] 208 |         let ptr = unsafe { slice::from_raw_parts(ptr.cast::<u8>().as_ptr(), layout.size()) };
[INFO] [stdout]     |                   ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/alloc.rs:213:19
[INFO] [stdout]     |
[INFO] [stdout] 212 |     unsafe fn release_slice_with<T>(&self, ptr: NonNull<[T]>, layout: Layout) { unsafe {
[INFO] [stdout]     |                                                                                 ------ because it's nested under this `unsafe` block
[INFO] [stdout] 213 |         let ptr = unsafe { slice::from_raw_parts(ptr.cast::<u8>().as_ptr(), layout.size()) };
[INFO] [stdout]     |                   ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/boxed.rs:601:27
[INFO] [stdout]     |
[INFO] [stdout] 601 |             assert_eq!(1, DROP);
[INFO] [stdout]     |                           ^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/boxed.rs:658:24
[INFO] [stdout]     |
[INFO] [stdout] 658 |             assert_eq!(D, 1);
[INFO] [stdout]     |                        ^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/buf.rs:209:24
[INFO] [stdout]     |
[INFO] [stdout] 209 |             assert_eq!(COUNT, 9);
[INFO] [stdout]     |                        ^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/mem.rs:662:24
[INFO] [stdout]     |
[INFO] [stdout] 662 |             assert_eq!(CNT, 9);
[INFO] [stdout]     |                        ^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/rc.rs:337:33
[INFO] [stdout]     |
[INFO] [stdout] 337 |             unsafe { assert_eq!(DROP, 0) };
[INFO] [stdout]     |                                 ^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/rc.rs:339:29
[INFO] [stdout]     |
[INFO] [stdout] 339 |         unsafe { assert_eq!(DROP, 1) };
[INFO] [stdout]     |                             ^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/arc.rs:334:33
[INFO] [stdout]     |
[INFO] [stdout] 334 |             unsafe { assert_eq!(DROP, 0) };
[INFO] [stdout]     |                                 ^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/arc.rs:336:29
[INFO] [stdout]     |
[INFO] [stdout] 336 |         unsafe { assert_eq!(DROP, 1) };
[INFO] [stdout]     |                             ^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/lib.rs:153:29
[INFO] [stdout]     |
[INFO] [stdout] 153 |             assert_eq!(100, DROP_CNT);
[INFO] [stdout]     |                             ^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/lib.rs:169:29
[INFO] [stdout]     |
[INFO] [stdout] 169 |             assert_eq!(100, DROP_CNT);
[INFO] [stdout]     |                             ^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hipool` (lib test) due to 10 previous errors; 15 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "a7c529cc73c4fd2dbe463c8c9a42813d6c5b0abe82f1a692d7a5cebbf8a6d1dc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a7c529cc73c4fd2dbe463c8c9a42813d6c5b0abe82f1a692d7a5cebbf8a6d1dc", kill_on_drop: false }`
[INFO] [stdout] a7c529cc73c4fd2dbe463c8c9a42813d6c5b0abe82f1a692d7a5cebbf8a6d1dc
